<template>
  <view>
    <MyButton v-slot="{ message }">
      <view>{{ message }}</view>

      <template #header> 头部内容 </template>
      <template #default> 默认内容</template>
      <template #footer> 底部内容 </template>
    </MyButton>
  </view>
</template>

<script setup lang="ts">
import { ref, reactive } from "vue";
import MyButton from "@/components/MyButton.vue";
</script>

<style style="less" scoped></style>
